"use strict";
var router_1 = require('@angular/router');
var layout_component_1 = require('../layout/layout.component');
var client_component_1 = require('./client.component');
var auth_guard_1 = require('../auth-guard');
var auth_service_1 = require('../scheme/auth.service');
var clientRoutes = [
    {
        path: 'admin',
        component: layout_component_1.LayoutComponent,
        canActivateChild: [auth_guard_1.AuthGuard],
        children: [
            {
                path: 'client',
                component: client_component_1.ClientComponent
            }
        ]
    }
];
exports.clientRoutingProviders = [
    auth_guard_1.AuthGuard,
    auth_service_1.AuthService
];
exports.clientRouting = router_1.RouterModule.forChild(clientRoutes);
